package com.act.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.act.dao.IAttendanceManagementDao;
import com.act.domain.AttendanceManagement;
import com.act.service.api.IAttendanceManagementService;

@Service
public class AttendanceManagementServiceImpl implements IAttendanceManagementService{
	@Resource
	IAttendanceManagementDao iAttendanceManagementDao;

	@Override
	public void add(AttendanceManagement attendanceManagement) {
		// TODO Auto-generated method stub
		 iAttendanceManagementDao.add(attendanceManagement);
	}

	public void delete(int id) {
		// TODO Auto-generated method stub
		iAttendanceManagementDao.delete(id);
	}
	
	public List<AttendanceManagement> getAllList(){
		return iAttendanceManagementDao.getAllList();
	};
	
	public List<AttendanceManagement> getAttendanceListByevaluationId(int id){;
		return iAttendanceManagementDao.getAttendanceListByevaluationId(id);
		
	}
	
	
}
